import { createApp } from 'vue';// @vue/runtime-dom
import App from './App.vue';
// 1.1 normalize
import './assets/normalize.css'
// 1.2 tailwindcss
import './index.css';
// 或者 import "tailwindcss/tailwind.css"
// 2. 注册公共组价
import registerComponent from './components';

const app = createApp(App);
// 挂载事务总线 (VUE3不推荐在原型链上挂载一些东西这种适用方法，而是推荐使用依赖注入)
// app.config.globalProperties.$mitt = emitter;
app.use(registerComponent)
app.mount('#app');
